home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / AIFF DSP v22 / main_src / aiff.h < prev    next >
Text File  |  1995-01-30  |  549b  |  22 lines

  1. /*
  2. contains macros, external variables, function declarations, and data structures relevant to AIFF-based DSP programming
  3. */
  4.  
  5. #define UCHAR unsigned char
  6.  
  7. typedef struct
  8. {
  9.    int    chan,    /* number of channels         */
  10.           wdsi,    /* sample word size in bits   */
  11.           framsiz; /* sample frame size in bytes */
  12.    long   fram;    /* number of sample frames    */
  13.    double rate;    /* sample rate in frames/sec  */
  14. }
  15. native_header;
  16.  
  17. extern native_header nh;
  18. extern void *d;
  19.  
  20. void err  ( char *errmsg );
  21. void warn ( char *warnmsg );
  22.